<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<p align="center">发送邮件的程序</p>
<form id="form1" name="form1" method="post" action="<%=request.getContextPath()%>/servlet/sendAttachmentMail" enctype="multipart/form-data">
  <table width="516" height="253" border="0" align="center">
    <tr>
      <td>收件人：</td>
      <td><label>
        <input type="text" name="to" id="to" />
      </label></td>
    </tr>
    <tr>
      <td>发件人：</td>
      <td><label>
        <input type="text" name="from" id="from" />
      </label></td>
    </tr>
    <tr>
      <td>主题：</td>
      <td><label>
        <input type="text" name="subject" id="subject" />
      </label></td>
    </tr>
    <tr>
      <td>选择附件：</td>
      <td><label>
        <input type="file" name="attachment" id="file" />
      </label></td>
    </tr>
    <tr>
      <td>内容：</td>
      <td><label>
        <textarea name="content" id="content" cols="45" rows="8"></textarea>
      </label></td>
    </tr>
    <tr>
      <td><label>
        <input type="submit" name="button" id="button" value="提交" />
      </label></td>
      <td><label>
        <input type="reset" name="button2" id="button2" value="重置" />
      </label></td>
    </tr>
  </table>
</form>
<p align="center">&nbsp;</p>
<p>&nbsp; </p>
</body>

</html>
